name: pre-commit run_id: commands[2] env HOME: /home/jenkins env LANG: C.UTF-8 env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/pre-commit/bin:/opt/pyenv/bin:/tmp/venv-pFrd/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 2403069224 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/pre-commit env TOX_ENV_NAME: pre-commit env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/pre-commit env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 2594 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/pre-commit/bin/*:sh:cpan:sudo:which:fixCIcentOS8reposMirrors.sh cmd: pre-commit run --all-files --show-diff-on-failure exit_code: 1 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/hhatto/autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. [INFO] Initializing environment for https://github.com/adrienverge/yamllint. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/hhatto/autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/adrienverge/yamllint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Passed fix end of files.........................................................Passed check for added large files..............................................Passed check for merge conflicts................................................Passed check for case conflicts.................................................Passed check json...............................................................Passed mixed line ending........................................................Passed Tabs remover.............................................................Passed autopep8.................................................................Failed - hook id: autopep8 - files were modified by this hook perltidy.................................................................Passed ShellCheck v0.11.0.......................................................Passed prettier.................................................................Passed yamllint.................................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/tests/transportpce_tests/tapi/test05_topo_gen_210426.py b/tests/transportpce_tests/tapi/test05_topo_gen_210426.py index 71d0817e0..196ccd380 100644 --- a/tests/transportpce_tests/tapi/test05_topo_gen_210426.py +++ b/tests/transportpce_tests/tapi/test05_topo_gen_210426.py @@ -1561,7 +1561,8 @@ class TransportPCEtesting(unittest.TestCase): '215ee18f-7869-3492-94d2-0f24ed0a3023': {' irg-1'}, # MUXPDR SPDR-SC1-XPDR1 '38c114ae-9c0e-3068-bb27-db2dbd81220b': {' irg-2'}, # SWITCH SPDR-SA1-XPDR2 'c1f06957-c0b9-32be-8492-e278b2d4a3aa': {' irg-3'}, # MUXPDR SPDR-SC1-XPDR3 - '3b726367-6f2d-3e3f-9033-d99b61459075': {'ROADM-A1 inter rule group-0', 'ROADM-A1 inter rule group-1'}, # ROADM-A1 + # ROADM-A1 + '3b726367-6f2d-3e3f-9033-d99b61459075': {'ROADM-A1 inter rule group-0', 'ROADM-A1 inter rule group-1'}, '4378fc29-6408-39ec-8737-5008c3dc49e5': {' irg-2'}, # TPDR XPDR-A1-XPDR1 '1770bea4-b1da-3b20-abce-7d182c0ec0df': {' irg-2'}, # TPDR XPDR-C1-XPDR1 } diff --git a/tests/transportpce_tests/tapi/test06_compare_context_with_reference.py b/tests/transportpce_tests/tapi/test06_compare_context_with_reference.py index f40655ea6..d69101a24 100644 --- a/tests/transportpce_tests/tapi/test06_compare_context_with_reference.py +++ b/tests/transportpce_tests/tapi/test06_compare_context_with_reference.py @@ -307,7 +307,6 @@ class TransportPCEtesting(unittest.TestCase): self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) self._wait_until_connected("ROADM-C1") - def test_05_connect_sprdA_1_N1_to_roadmA_PP1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', @@ -920,7 +919,8 @@ class TransportPCEtesting(unittest.TestCase): def test_42_tapi_nw_topology_service_name(self): T = 'urn:onf:otcc:yang:tapi-topology' ref_name = next(self.ref_tree.iter(f'{{{T}}}nw-topology-service')).findtext(f'{{{T}}}name/{{{T}}}value') - live_name = next(self._get_live_tree().iter(f'{{{T}}}nw-topology-service')).findtext(f'{{{T}}}name/{{{T}}}value') + live_name = next(self._get_live_tree().iter( + f'{{{T}}}nw-topology-service')).findtext(f'{{{T}}}name/{{{T}}}value') self.assertEqual(live_name, ref_name) def test_43_tapi_t0_node_names(self):